package com.beilang.hotline.knowledge.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.beilang.base.core.model.BaseModel;

@Entity
@Table(name = "ht_knowledge")
public class KnowledgeModel extends BaseModel {

    private static final long serialVersionUID = 7976046371866911371L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "knowledge_id")
    private Long knowledgeId;

    @Column(name = "system_id")
    private Long sysId;

    @Column(name = "knowledge_name")
    private String knowledgeName;


    @Column(name = "knowledge_answer")
    private String knowledgeAnswer;

    @Transient
    private String sysName;


    @Column(name = "delete_ind")
    private String deleteInd = "N";

    public Long getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(Long knowledgeId) {
        this.knowledgeId = knowledgeId;
    }

    public Long getSysId() {
        return sysId;
    }

    public void setSysId(Long sysId) {
        this.sysId = sysId;
    }

    public String getKnowledgeName() {
        return knowledgeName;
    }

    public void setKnowledgeName(String knowledgeName) {
        this.knowledgeName = knowledgeName;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public String getDeleteInd() {
        return deleteInd;
    }

    public void setDeleteInd(String deleteInd) {
        this.deleteInd = deleteInd;
    }

    public String getKnowledgeAnswer() {
        return knowledgeAnswer;
    }

    public void setKnowledgeAnswer(String knowledgeAnswer) {
        this.knowledgeAnswer = knowledgeAnswer;
    }
}